<html>
   <head>
      <link rel="stylesheet" type="text/css" href="style.css" />
   </head>
   <body onload="">
<h2 class="comptitle">Network <i>LMAC</i></h2>
<b>Package:</b> org.mixim.examples.lmac<br/><b>File: <a href="examples-lmac-LMAC.ned.html">examples/lmac/LMAC.ned</a></b><br/><p>(no description)</p><img src="org.mixim.examples.lmac.LMAC-type.png" ismap="yes" usemap="#type-diagram"/><map name="type-diagram">
<area shape="rect" href="org.mixim.base.connectionManager.ConnectionManager.html" title="ConnectionManager" alt="ConnectionManager" coords="89,21,216,84">
<area shape="rect" href="org.mixim.base.modules.BaseWorldUtility.html" title="BaseWorldUtility" alt="BaseWorldUtility" coords="13,23,55,82">
<area shape="rect" href="org.mixim.modules.node.HostLMAC.html" title="HostLMAC" alt="HostLMAC" coords="116,75,228,130">
</map>
<h3 class="subtitle">Usage diagram:</h3>
<p>The following diagram shows usage relationships between types.
Unresolved types are missing from the diagram. Click <a href="full-ned-usage-diagram.html">here</a> to see the full picture.</p>
<img src="org.mixim.examples.lmac.LMAC-usage.png" ismap="yes" usemap="#usage-diagram"/><map name="usage-diagram"><area shape="rect" id="node1" href="org.mixim.examples.lmac.LMAC.html" title="Network LMAC" alt="" coords="175,6,247,34">
<area shape="rect" id="node2" href="org.mixim.base.connectionManager.ConnectionManager.html" title="Simple Module ConnectionManager" alt="" coords="5,83,144,111">
<area shape="rect" id="node4" href="org.mixim.modules.node.HostLMAC.html" title="Compound Module HostLMAC" alt="" coords="168,83,253,111">
<area shape="rect" id="node6" href="org.mixim.base.modules.BaseWorldUtility.html" title="Simple Module BaseWorldUtility" alt="" coords="277,83,397,111">
</map>
<h3 class="subtitle">Inheritance diagram:</h3>
<p>The following diagram shows inheritance relationships for this type.
Unresolved types are missing from the diagram. Click <a href="full-ned-inheritance-diagram.html">here</a> to see the full picture.</p>
<img src="org.mixim.examples.lmac.LMAC-inheritance.png" ismap="yes" usemap="#inheritance-diagram"/><map name="inheritance-diagram"><area shape="rect" id="node1" href="org.mixim.examples.lmac.LMAC.html" title="Network LMAC" alt="" coords="5,6,77,34">
</map>
<h3 class="subtitle">Parameters:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Type</th>
      <th>Default value</th>
      <th>Description</th>
   </tr>
<tr class="local">
   <td width="150">playgroundSizeX</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>x size of the area the nodes are in (in meters)</p>
   </td>
</tr>
<tr class="local">
   <td width="150">playgroundSizeY</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>y size of the area the nodes are in (in meters)</p>
   </td>
</tr>
<tr class="local">
   <td width="150">playgroundSizeZ</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>z size of the area the nodes are in (in meters)</p>
   </td>
</tr>
<tr class="local">
   <td width="150">numNodes</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>total number of hosts in the network</p>
   </td>
</tr>
</table>
<h3 class="subtitle">Properties:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Value</th>
      <th>Description</th>
   </tr>
<tr>
   <td width="150">isNetwork</td>
   <td width="100"><i></i></td>
   <td></td>
</tr>
<tr>
   <td width="150">display</td>
   <td width="100"><i>bgb=$playgroundSizeX,$playgroundSizeY,white;bgp=0,0</i></td>
   <td></td>
</tr>
</table>
<h3 class="subtitle">Unassigned submodule parameters:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Type</th>
      <th>Default value</th>
      <th>Description</th>
   </tr>
<tr>
   <td><a href="org.mixim.base.connectionManager.ConnectionManager.html">connectionManager</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch for core framework</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.base.connectionManager.ConnectionManager.html">connectionManager</a>.sendDirect</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>send directly to the node or create separate gates for every connection</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.base.connectionManager.ConnectionManager.html">connectionManager</a>.pMax</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>maximum sending power used for this network [mW]</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.base.connectionManager.ConnectionManager.html">connectionManager</a>.sat</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>minimum signal attenuation threshold [dBm]</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.base.connectionManager.ConnectionManager.html">connectionManager</a>.alpha</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>minimum path loss coefficient</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.base.connectionManager.ConnectionManager.html">connectionManager</a>.carrierFrequency</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>minimum carrier frequency of the channel [Hz]</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.base.connectionManager.ConnectionManager.html">connectionManager</a>.drawMaxIntfDist</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>should the maximum interference distance be displayed for each node?</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.base.modules.BaseWorldUtility.html">world</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch for the base framework</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.base.modules.BaseWorldUtility.html">world</a>.useTorus</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>use the playground as torus?</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.base.modules.BaseWorldUtility.html">world</a>.use2D</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>use a 2-dimensional world?</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.base.modules.BaseUtility.html">utility</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch for the base framework</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.netw.ArpHost.html">arp</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch for the core framework</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.netw.ArpHost.html">arp</a>.debug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>enable debugging for this module</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.netw.ArpHost.html">arp</a>.offset</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">0</td>
   <td>
<p>Adds an offset to node addresses</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.base.modules.IBaseMobility.html">mobility</a>.x</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>x coordinate of the nodes' position (-1 = random)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.base.modules.IBaseMobility.html">mobility</a>.y</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>y coordinate of the nodes' position (-1 = random)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.base.modules.IBaseMobility.html">mobility</a>.z</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>z coordinate of the nodes' position (-1 = random)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.base.modules.IBaseApplLayer.html">appl</a>.headerLength</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120"></td>
   <td>
<p>length of the application message header (in bits)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.base.modules.IBaseNetwLayer.html">net</a>.stats</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>stats switch</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.base.modules.IBaseNetwLayer.html">net</a>.headerLength</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>length of the network packet header (in bits)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.mac.LMacLayer.html">mac</a>.notAffectedByHostState</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.mac.LMacLayer.html">mac</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.mac.LMacLayer.html">mac</a>.headerLength</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>length of the MAC packet header (in bits)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.mac.LMacLayer.html">mac</a>.debug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>enable per module debug</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.mac.LMacLayer.html">mac</a>.slotDuration</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">100ms</td>
   <td>
<p>how long is a slot?</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.mac.LMacLayer.html">mac</a>.queueLength</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">10</td>
   <td>
<p>length of MAC header</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.mac.LMacLayer.html">mac</a>.defaultChannel</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0</td>
   <td>
<p>default channel</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.mac.LMacLayer.html">mac</a>.bitrate</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">19200bps</td>
   <td>
<p>bit rate</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.mac.LMacLayer.html">mac</a>.reservedMobileSlots</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">2</td>
   <td>   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.mac.LMacLayer.html">mac</a>.numSlots</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">64</td>
   <td>   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.mac.LMacLayer.html">mac</a>.txPower</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">50</td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch for core framework</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.recordStats</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>enable/disable tracking of statistics (eg. cOutvectors)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.headerLength</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">0</td>
   <td>
<p>defines the length of the phy header (/preamble)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.usePropagationDelay</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>Should transmission delay be simulated?</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.thermalNoise</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>the strength of the thermal noise [dBm]</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.useThermalNoise</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>should thermal noise be considered?</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.analogueModels</td>
   <td width="100">
      <i>xml</i>
   </td>
   <td width="120"></td>
   <td>
<p>Specification of the analogue models to use and their parameters</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.decider</td>
   <td width="100">
      <i>xml</i>
   </td>
   <td width="120"></td>
   <td>
<p>Specification of the decider to use and its parameters</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.sensitivity</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>The sensitivity of the physical layer [dBm]</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.maxTXPower</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>The maximum transimission power of the physical layer [mW]</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.timeRXToTX</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0</td>
   <td>
<p>switchTimes [s]:</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.timeRXToSleep</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0</td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.timeTXToRX</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0</td>
   <td>   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.timeTXToSleep</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0</td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.timeSleepToRX</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0</td>
   <td>   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.timeSleepToTX</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0</td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.initialRadioState</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">0</td>
   <td>
<p>state the radio is initially in</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.radioMinAtt</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">1.0</td>
   <td>
<p>radios gain factor (attenuation) while receiving</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.radioMaxAtt</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0.0</td>
   <td>
<p>radios gain factor (attenuation) while not receiving</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.nbRadioChannels</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">1</td>
   <td>
<p>Number of available radio channels. Defaults to single channel radio.</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.initialRadioChannel</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">0</td>
   <td>
<p>Initial radio channel.</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.nic.NicLMAC.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.numActivities</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">5</td>
   <td>
<p>the number of different power consuming activities the phy layer has
change this parameter if your decider or physical layer uses more
than the default 5 activities (sleep, rx, tx, switching, decoding)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.power.battery.BatteryStats.html">batteryStats</a>.debug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>write per-activity and per-device statistics to omnetpp.sca
(if false, only total energy and lifetime are written)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.power.battery.BatteryStats.html">batteryStats</a>.detail</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>subscribe to battery status and record time series
data in omnetpp.vec (resolution depends on battery's 
publishDelta)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.power.battery.BatteryStats.html">batteryStats</a>.timeSeries</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.debug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.nominal</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>nominal battery capacity</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.capacity</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>battery capacity</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.voltage</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>nominal voltage</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.resolution</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>capacity is updated at least every resolution time</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.publishDelta</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>if &gt; 0, capacity is published to the BB each publishTime 
interval</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.publishTime</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>number of modules that will draw energy from the 
battery</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.HostLMAC.html">node</a>.<a href="org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.numDevices</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120"></td>
   <td>
   </td>
</tr>
</table>
<h3 class="subtitle">Source code:</h3>
<pre class="src"><span style="color: #800000; font-weight: bold; ">network</span><span style="color: #000000; "> </span><span style="color: #000000; ">LMAC</span><span style="color: #000000; ">
{
    </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">playgroundSizeX</span><span style="color: #000000; "> </span><span style="color: #000000; font-weight: bold; ">@unit</span><span style="color: #000000; ">(</span><span style="color: #000000; ">m</span><span style="color: #000000; ">); </span><span style="color: #808080; font-style: italic; ">// x size of the area the nodes are in (in meters)
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">playgroundSizeY</span><span style="color: #000000; "> </span><span style="color: #000000; font-weight: bold; ">@unit</span><span style="color: #000000; ">(</span><span style="color: #000000; ">m</span><span style="color: #000000; ">); </span><span style="color: #808080; font-style: italic; ">// y size of the area the nodes are in (in meters)
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">playgroundSizeZ</span><span style="color: #000000; "> </span><span style="color: #000000; font-weight: bold; ">@unit</span><span style="color: #000000; ">(</span><span style="color: #000000; ">m</span><span style="color: #000000; ">); </span><span style="color: #808080; font-style: italic; ">// z size of the area the nodes are in (in meters)
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">numNodes</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">// total number of hosts in the network
</span><span style="color: #000000; ">
        </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;bgb=$playgroundSizeX,$playgroundSizeY,white;bgp=0,0&quot;</span><span style="color: #000000; ">);
    </span><span style="color: #800000; font-weight: bold; ">submodules</span><span style="color: #000000; ">:
        </span><span style="color: #000000; ">connectionManager</span><span style="color: #000000; ">: </span><span style="color: #000000; ">ConnectionManager</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=150,0;b=42,42,rect,green,,;i=abstract/multicast&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">world</span><span style="color: #000000; ">: </span><span style="color: #000000; ">BaseWorldUtility</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; ">playgroundSizeX</span><span style="color: #000000; "> = </span><span style="color: #000000; ">playgroundSizeX</span><span style="color: #000000; ">;
                </span><span style="color: #000000; ">playgroundSizeY</span><span style="color: #000000; "> = </span><span style="color: #000000; ">playgroundSizeY</span><span style="color: #000000; ">;
                </span><span style="color: #000000; ">playgroundSizeZ</span><span style="color: #000000; "> = </span><span style="color: #000000; ">playgroundSizeZ</span><span style="color: #000000; ">;
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=30,0;i=misc/globe&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">node</span><span style="color: #000000; ">[</span><span style="color: #000000; ">numNodes</span><span style="color: #000000; ">]: </span><span style="color: #000000; ">HostLMAC</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=170,50;i=device/wifilaptop&quot;</span><span style="color: #000000; ">);
        }
    </span><span style="color: #800000; font-weight: bold; ">connections</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">allowunconnected</span><span style="color: #000000; ">:

}
</span></pre>
   <hr><p class="footer"><a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top"><img src="by-sa.png"></a> This documentation is released under the <a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top">Creative Commons license</a></p>
   </body>
</html>
